package com.moji.service;

import com.moji.common.entity.MyPage;
import com.moji.entity.MjOrder;
import com.moji.entity.MjProductPurchase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.MjSupportHelp;
import com.moji.entity.dto.QueryOrderDto;
import com.moji.entity.dto.QueryProductPurchaseDto;
import com.moji.entity.dto.QuerySupportHelpDto;

/**
 * <p>
 * 产品选购配置表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-08-13
 */
public interface MjProductPurchaseService extends IService<MjProductPurchase> {

    /** 分页查询 **/
    MyPage<MjProductPurchase> queryByPage(QueryProductPurchaseDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjProductPurchase mjProductPurchase);

    /** 编辑 **/
    boolean edit(MjProductPurchase mjProductPurchase);

    /** 详情 **/
    MjProductPurchase detail(Long id);
}
